package com.hxzy.drvier.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

/**
 * @Author wy
 * @Description TODO
 * @Date 2023/12/13 16:39
 * @Version 1.0
 */
@Getter
@Setter
@ToString
@Schema(description = "新司机注册表单")
public class RegisterNewDriverReq {

    @NotBlank(message = "code不能为空")
    @Schema(description = "微信小程序临时授权")
    private String code;

    @NotBlank(message = "nickname不能为空")
    @Schema(description = "用户昵称")
    private String nickname;

    @NotBlank(message = "photo不能为空")
    @Schema(description = "用户头像")
    private String photo;

    @Schema(description = "性别")
    private String gender;
}
